<%@ Page Language="VB" MasterPageFile="~/master pages/AdminMasterPage.master" AutoEventWireup="false"
    CodeFile="frmTabScheme.aspx.vb" Inherits="Admin_frmTabScheme" Title="Untitled Page" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="box" width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <td class="boxheading" width="100%" height="14" align="center">
                    <h2 class="boxtitle">
                        Scheme Details
                    </h2>
                </td>
            </tr>
        </tbody>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <style type="text/css">
        /*Modal Popup*/
        .modalBackground
        {
            background-color: Gray;
            filter: alpha(opacity=70);
            opacity: 0.7;
        }
    </style>
    <asp:ImageButton ImageUrl="~/images/add.gif" ID="ImageAdd" runat="server" CausesValidation="false" />
    <asp:ImageButton ImageUrl="~/images/edit.gif" ID="ImageEdit" runat="server" CausesValidation="false" />
    <%--<asp:Panel ID="Panel1" runat="server" Height="50px"
            Width="125px">hello
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" Height="50px"
            Width="125px">how are you
        </asp:Panel>--%>
    <%--  <asp:Panel runat="server" ID="panel1">
        <div style="font-weight: bold;">
            <table width="100%">
                <tr>
                    <td align="left">Add Category
                        <asp:Label runat="server" ID="textLabel" />
                    </td>
                    <td align="right" width="10px">
                        <asp:Image ID="Image1" runat="server" />
                    </td>
                </tr>
            </table>
        </div>
        </asp:Panel>--%>
    <asp:Panel runat="server" ID="panel2" Width="98%" HorizontalAlign="center">
        <div>
            <table align="center">
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table align="center" style="border: 1px; border-color: white; border-style: solid;">
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span style="color: Black;">Scheme Id:</span></td>
                                <td>
                                    <asp:TextBox ID="txtSchemeId" runat="server" Width="156px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" TargetControlID="txtSchemeId"
                                        WatermarkText="Enter SchemeId Here" runat="server" WatermarkCssClass="watermark">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="SchemeId-Cannot Be Blank."
                                        ControlToValidate="txtSchemeId">*</asp:RequiredFieldValidator>
                                </td>
                                <td>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ErrorMessage="SchemeId-Only Characters & Digits Allowed."
                                        ControlToValidate="txtSchemeId" ValidationExpression="[A-Za-z0-9]+">*</asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span style="color: Black;">Discount Amount:</span></td>
                                <td>
                                    <asp:TextBox ID="txtDiscount" runat="server" Width="156px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" TargetControlID="txtDiscount"
                                        WatermarkText="Enter Discount Here" runat="server" WatermarkCssClass="watermark">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Discount-Cannot Be Blank."
                                        ControlToValidate="txtDiscount">*</asp:RequiredFieldValidator>
                                </td>
                                <td>
                                    <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" TargetControlID="txtDiscount"
                                        FilterType="Numbers" runat="server">
                                    </cc1:FilteredTextBoxExtender>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span style="color: Black;">Discription:</span></td>
                                <td>
                                    <asp:TextBox ID="txtDiscription" runat="server" Width="156px"></asp:TextBox>
                                    <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" TargetControlID="txtDiscription"
                                        WatermarkText="Enter Discription Here" runat="server" WatermarkCssClass="watermark">
                                    </cc1:TextBoxWatermarkExtender>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Discription-Cannot Be Blank."
                                        ControlToValidate="txtDiscription">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            
                           
                            <tr>
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr align="center">
                                <td colspan="8" align="center">
                                    <asp:Button ID="btnSubmit" runat="server" Text="Submit" />
                                    <asp:Button ID="btnReset" runat="server" Text="Reset"  CausesValidation="false"/></td>
                            </tr>
                        </table>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>
    <%--  <cc1:CollapsiblePanelExtender runat="server" ID="cpe" TargetControlID="panel2" 
        CollapseControlID="panel1" ExpandControlID="panel1" Collapsed="true" CollapsedSize="0" 
        ExpandedText="(Collapse...)" CollapsedText="(Expand...)" TextLabelID="textLabel" 
        ImageControlID="Image1" ExpandedImage="../images/collapse.jpg" CollapsedImage="../images/expand.jpg">
    </cc1:CollapsiblePanelExtender>
     
   
    <cc1:CollapsiblePanelExtender runat="server" ID="CollapsiblePanelExtender1" TargetControlID="panel4" 
        CollapseControlID="panel3" ExpandControlID="panel3" Collapsed="true" CollapsedSize="0" 
        ExpandedText="(Collapse...)" CollapsedText="(Expand...)" TextLabelID="lblEdit" 
        ImageControlID="Image2" ExpandedImage="../images/collapse1.jpg" CollapsedImage="../images/expand1.jpg">
    </cc1:CollapsiblePanelExtender>
    <asp:Panel runat="server" ID="panel3">
        <div style="font-weight: bold;">
            <table width="100%">
                <tr>
                    <td align="left">Edit Category
                        <asp:Label runat="server" ID="lblEdit" />
                    </td>
                    <td align="right" width="10px">
                        <asp:Image ID="Image2" runat="server" />
                    </td>
                </tr>
            </table>
        </div>
        </asp:Panel>--%>
    <asp:Panel runat="server" ID="panel4" Width="98%" HorizontalAlign="center">
        <div>
            <table align="center">
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:DataGrid ID="gdScheme" runat="server" AllowPaging="true" AutoGenerateColumns="False"
                            CellPadding="4" EnableTheming="True" Font-Bold="True" Font-Italic="False" Font-Names="Verdana"
                            Font-Size="small" ForeColor="Black" GridLines="None" HorizontalAlign="Center"
                            Width="100%" Visible="true" 
                            PageSize="5">
                            <AlternatingItemStyle BackColor="white" ForeColor="#757575" />
                            <Columns>
                                <asp:BoundColumn DataField="SchemeId" HeaderText="Scheme Id">
                                    <ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                                        Font-Size="8pt" Font-Strikeout="False" Font-Underline="False" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Discount" HeaderText="Discount">
                                    <ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                                        Font-Size="8pt" Font-Strikeout="False" Font-Underline="False" />
                                </asp:BoundColumn>
                                <asp:BoundColumn DataField="Discription" HeaderText="Discription">
                                    <ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                                        Font-Size="8pt" Font-Strikeout="False" Font-Underline="False" />
                                </asp:BoundColumn>
                                <asp:TemplateColumn>
                                    <ItemTemplate>
                                        <asp:ImageButton ID="LblEdit" runat="server" CommandName="Edit" ImageUrl="~/images/edit-best.jpg"
                                            Height="15" Width="15" ForeColor="#5D3954"></asp:ImageButton>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                                <asp:TemplateColumn>
                                    <ItemTemplate>
                                        <asp:ImageButton ID="LbtDelete" runat="server" CommandName="Delete" ForeColor="#5D3954"
                                            ImageUrl="~/images/delete.jpg" Height="15" Width="15"></asp:ImageButton>
                                        <%--<cc1:ConfirmButtonExtender TargetControlID="LbtDelete" ID="confBtnDelete" runat="server"
                                            DisplayModalPopupID="ModalPopupExtender1">
                                        </cc1:ConfirmButtonExtender>
                                        <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="LbtDelete"
                                            PopupControlID="PNL" OkControlID="ButtonOk" CancelControlID="ButtonCancel" BackgroundCssClass="modalBackground" />
                                        <asp:Panel ID="PNL" runat="server" Style="display: none; width: 200px; background-color: White;
                                            border-width: 2px; border-color: Black; border-style: solid; padding: 20px; color: Black">
                                            Are you sure you want to delete the record?
                                            <br />
                                            <br />
                                            <div style="text-align: right;">
                                                <asp:Button ID="ButtonOk" runat="server" Text="OK" />
                                                <asp:Button ID="ButtonCancel" runat="server" Text="Cancel" />
                                            </div>
                                        </asp:Panel>--%>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                            </Columns>
                            <EditItemStyle BackColor="#999999" ForeColor="#757575" />
                            <FooterStyle BackColor="#B02840" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#77A123" Font-Bold="True" ForeColor="White" />
                            <ItemStyle BackColor="White" ForeColor="#757575" />
                            <PagerStyle BackColor="White" ForeColor="Gray" HorizontalAlign="Right" NextPageText="Next &amp;raquo;"
                                PrevPageText="&amp;laquo; Previous" />
                            <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" Font-Names="Verdana" Font-Size="10pt"
                                ForeColor="#333333" />
                        </asp:DataGrid>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>
</asp:Content>
